import request from '@/utils/request'

/**
 * get Menu Switch
 * @param {*} data
 * @returns
 */
export function getMenuSwitch(data) {
  return request({
    url: '/api/getMenuSwitch',
    method: 'post',
    data
  })
}

/**
 * Rule Description
 * @param {Object} data
 */
export function getContentByType(data) {
	return request({
		url: '/api/getContentByType',
		method: 'post',
		data
	})
}